<html>
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<link href="https://cdn.jsdelivr.net/npm/daisyui@5" rel="stylesheet" type="text/css" />
	<link href="https://cdn.jsdelivr.net/npm/daisyui@5/themes.css" rel="stylesheet" type="text/css" />
    <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
	<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script>
	<script src="https://unpkg.com/vue-router@4.6.3/dist/vue-router.global.prod.js"></script>
   <style type="text/tailwindcss">
    </style>
</head>
<body>
<div id="app">
    <!--默认mobile布局/桌面端切换-->
    <div class="grid grid-rows-[100px_1fr_1fr_100px] grid-cols-[1fr_1fr_1fr_1fr_1fr_1fr] gap-2 p-2 h-screen">
        <div class="col-span-6 bg-blue-200 p-2">{{header}}</div>
        <div class="row-span-2 bg-green-200 p-2">{{sidebar}}</div>
		<div class="row-span-2 col-span-5 bg-green-200 p-2">
			<div class="widget">{{main}}1</div>
			<div class="widget">{{main}}2</div>
			<div class="widget">{{main}}3</div>
			<div class="widget">{{main}}4</div>
		</div>
        <div class="col-span-6 bg-orange-200 p-2">{{footer}}</div>
    </div>
</div>
<script>
  const { createApp,ref } = Vue

  createApp({
    setup() {
      const header = ref('header')
	  const sidebar = ref('sidebar')
	  const main= ref('main')
	  const footer = ref('footer')
      return {
        header,
		sidebar,
		main,
		footer
      }
    }
  }).mount('#app')
</script>
<script>
</script>
</body>
</html>